package net.lab1024.sa.admin.module.business.erp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.erp.domain.entity.ApprovordEntity;
import net.lab1024.sa.admin.module.business.erp.domain.form.query.ApprovordQueryForm;
import net.lab1024.sa.admin.module.business.erp.domain.vo.ApprovordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 审批主表 Dao
 *
 * @Author AKITA
 * @Date 2025-04-23 14:10:37
 * @Copyright AKITA
 */

@Mapper
public interface ApprovordDao extends BaseMapper<ApprovordEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<ApprovordVO> queryPage(Page page, @Param("queryForm") ApprovordQueryForm queryForm);


    List<ApprovordEntity> info(@Param("tabName") String tabName, @Param("baseEntry") Long baseEntry);


}
